home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 8: LINUX Games
/
Linux Cubed Series 8 - LINUX Games.iso
/
games
/
x11
/
networke
/
xfirepow.000
/
xfirepow
/
xfirepower-0.84
/
client
/
libsprite
/
misc.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-05-23
|
696b
|
62 lines
#include "allincludes.h"
int
W_Mono()
{
return forceMono;
}
void
W_Beep()
{
XBell(W_Display, 0);
}
int
W_WindowWidth(window)
W_Window window;
{
return (W_Void2Window(window)->width);
}
int
W_WindowHeight(window)
W_Window window;
{
return (W_Void2Window(window)->height);
}
int
W_Socket()
{
return (ConnectionNumber(W_Display));
}
void
W_Flush()
{
XFlush(W_Display);
}
#ifdef AUTOKEY
void W_AutoRepeatOff()
{
XAutoRepeatOff(W_Display);
W_Flush();
}
void W_AutoRepeatOn()
{
XAutoRepeatOn(W_Display);
W_Flush();
}
#endif /* AUTOKEY */
/* synchronize the X server with the client [BDyess] */
void
W_Sync()
{
XSync(W_Display,False);
}